package com.leejxx.common.exception;

import com.leejxx.model.common.dto.ResponseResult;

/**
 * @Author LeeJx
 * @ClassName CustomException
 * @Description TODO
 * @date 2021/2/8 12:40
 * @Version 1.0
 */
public class CustomException extends RuntimeException {
    private ResponseResult responseResult;

    public CustomException(ResponseResult responseResult) {
        this.responseResult = responseResult;
    }

    public ResponseResult getResponseResult() {
        return responseResult;
    }
}
